package com.jx.db137.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jx.db137.common.R;
import com.jx.db137.entity.Menu;
import com.jx.db137.entity.User;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author jx
 * @version 1.0
 * @Description
 * @date 2024/12/3 13:41
 */
@Service
public interface UserService extends IService<User>{

    List<Menu> selectUserMenuByUserId(Integer userid);

    int registerUser(@RequestBody User user);


    User selectUser(Integer userid);
}
